//
//  KKTableViewController.h
//  FreightAssistant
//
//  Created by leo on 15/11/1.
//  Copyright © 2015年 leo. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "KKTableHeaderView.h"
#import "KKTableFooterView.h"

typedef NS_ENUM(NSUInteger, KKViewControllerType) {
    KKViewControllerTypeEdit = 0,               /**< 默认的模式 */
    KKViewControllerTypeChoose = 1,             /**< 选择的模式 */
};

typedef void(^KKViewControllerListentKeyboardStateBlock)(BOOL show);
typedef void(^KKViewControllerEditResultBlock)(id object);

@interface KKTableViewController : UITableViewController

@property (nonatomic, assign) KKViewControllerType viewcontrollerType;  /**< 控制器的模式KKViewControllerTypeEdit */

@property (nonatomic, copy) KKViewControllerEditResultBlock editResultBlock;

@property (nonatomic, assign) BOOL showBackButton;         /**< 是否显示返回按钮 [默认隐藏]*/

@property (nonatomic, copy) KKViewControllerListentKeyboardStateBlock keyboardStateBlock;   /**< 监听键盘的状态的回调 */

@end
